ProfileArgs

data class ProfileArgs(val as2Id: Output<String>? = null, val certificateIds: Output<List<String>>? = null, val profileType: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ProfileArgs>

Provides a AWS Transfer AS2 Profile resource.

Example Usage

Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.transfer.Profile;
import com.pulumi.aws.transfer.ProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Profile("example", ProfileArgs.builder()
.as2Id("example")
.certificateIds(aws_transfer_certificate.example().certificate_id())
.usage("LOCAL")
.build());
}
}

Import

Using pulumi import, import Transfer AS2 Profile using the profile_id. For example:

$ pulumi import aws:transfer/profile:Profile example p-4221a88afd5f4362a

Constructors

Link copied to clipboard
fun ProfileArgs(as2Id: Output<String>? = null, certificateIds: Output<List<String>>? = null, profileType: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ProfileArgs

Properties

Link copied to clipboard
val as2Id: Output<String>? = null

The As2Id is the AS2 name as defined in the RFC 4130. For inbound ttransfers this is the AS2 From Header for the AS2 messages sent from the partner. For Outbound messages this is the AS2 To Header for the AS2 messages sent to the partner. his ID cannot include spaces.

Link copied to clipboard
val certificateIds: Output<List<String>>? = null

The list of certificate Ids from the imported certificate operation.

Link copied to clipboard
val profileType: Output<String>? = null

The profile type should be LOCAL or PARTNER.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.