@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:50.582Z") @Stability(value=Stable) public class CfnProfile extends CfnResource implements IInspectable
Creates the local or partner profile to use for AS2 transfers.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.transfer.*;
CfnProfile cfnProfile = CfnProfile.Builder.create(this, "MyCfnProfile")
.as2Id("as2Id")
.profileType("profileType")
// the properties below are optional
.certificateIds(List.of("certificateIds"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnProfile.Builder
A fluent builder for
CfnProfile. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnProfile(Construct scope,
String id,
CfnProfileProps props)
Create a new `AWS::Transfer::Profile`.
|
protected |
CfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnProfile(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAs2Id()
The `As2Id` is the *AS2-name* , as defined in the [RFC 4130](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc4130) .
|
String |
getAttrArn() |
String |
getAttrProfileId() |
List<String> |
getCertificateIds()
An array of identifiers for the imported certificates.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getProfileType()
Indicates whether to list only `LOCAL` type profiles or only `PARTNER` type profiles.
|
TagManager |
getTags()
Key-value pairs that can be used to group and search for profiles.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAs2Id(String value)
The `As2Id` is the *AS2-name* , as defined in the [RFC 4130](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc4130) .
|
void |
setCertificateIds(List<String> value)
An array of identifiers for the imported certificates.
|
void |
setProfileType(String value)
Indicates whether to list only `LOCAL` type profiles or only `PARTNER` type profiles.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnProfile(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnProfileProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrProfileId()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getAs2Id()
@Stability(value=Stable)
public void setAs2Id(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getProfileType()
If not supplied in the request, the command lists all types of profiles.
@Stability(value=Stable)
public void setProfileType(@NotNull
String value)
If not supplied in the request, the command lists all types of profiles.
@Stability(value=Stable) @Nullable public List<String> getCertificateIds()
You use this identifier for working with profiles and partner profiles.
Copyright © 2023. All rights reserved.