@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:40.269Z") 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 . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnProfile(Construct scope,
java.lang.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 |
---|---|
java.lang.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) .
|
java.lang.String |
getAttrArn() |
java.lang.String |
getAttrProfileId() |
java.util.List<java.lang.String> |
getCertificateIds()
An array of identifiers for the imported certificates.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setAs2Id(java.lang.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(java.util.List<java.lang.String> value)
An array of identifiers for the imported certificates.
|
void |
setProfileType(java.lang.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, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnProfile(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnProfile(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnProfile(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrProfileId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getAs2Id()
public void setAs2Id(java.lang.String value)
public java.lang.String getProfileType()
If not supplied in the request, the command lists all types of profiles.
public void setProfileType(java.lang.String value)
If not supplied in the request, the command lists all types of profiles.
public java.util.List<java.lang.String> getCertificateIds()
You use this identifier for working with profiles and partner profiles.
public void setCertificateIds(java.util.List<java.lang.String> value)
You use this identifier for working with profiles and partner profiles.