Documentation ¶
Index ¶
- func CfnServer_CFN_RESOURCE_TYPE_NAME() *string
- func CfnServer_IsCfnElement(x interface{}) *bool
- func CfnServer_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnServer_IsConstruct(x interface{}) *bool
- func CfnUser_CFN_RESOURCE_TYPE_NAME() *string
- func CfnUser_IsCfnElement(x interface{}) *bool
- func CfnUser_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnUser_IsConstruct(x interface{}) *bool
- func CfnWorkflow_CFN_RESOURCE_TYPE_NAME() *string
- func CfnWorkflow_IsCfnElement(x interface{}) *bool
- func CfnWorkflow_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnWorkflow_IsConstruct(x interface{}) *bool
- func NewCfnServer_Override(c CfnServer, scope awscdk.Construct, id *string, props *CfnServerProps)
- func NewCfnUser_Override(c CfnUser, scope awscdk.Construct, id *string, props *CfnUserProps)
- func NewCfnWorkflow_Override(c CfnWorkflow, scope awscdk.Construct, id *string, props *CfnWorkflowProps)
- type CfnServer
- type CfnServerProps
- type CfnServer_EndpointDetailsProperty
- type CfnServer_IdentityProviderDetailsProperty
- type CfnServer_ProtocolDetailsProperty
- type CfnServer_WorkflowDetailProperty
- type CfnServer_WorkflowDetailsProperty
- type CfnUser
- type CfnUserProps
- type CfnUser_HomeDirectoryMapEntryProperty
- type CfnUser_PosixProfileProperty
- type CfnWorkflow
- type CfnWorkflowProps
- type CfnWorkflow_WorkflowStepProperty
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnServer_CFN_RESOURCE_TYPE_NAME ¶
func CfnServer_CFN_RESOURCE_TYPE_NAME() *string
func CfnServer_IsCfnElement ¶
func CfnServer_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnServer_IsCfnResource ¶
func CfnServer_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnServer_IsConstruct ¶
func CfnServer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnUser_CFN_RESOURCE_TYPE_NAME ¶
func CfnUser_CFN_RESOURCE_TYPE_NAME() *string
func CfnUser_IsCfnElement ¶
func CfnUser_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnUser_IsCfnResource ¶
func CfnUser_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnUser_IsConstruct ¶
func CfnUser_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnWorkflow_CFN_RESOURCE_TYPE_NAME ¶
func CfnWorkflow_CFN_RESOURCE_TYPE_NAME() *string
func CfnWorkflow_IsCfnElement ¶
func CfnWorkflow_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnWorkflow_IsCfnResource ¶
func CfnWorkflow_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnWorkflow_IsConstruct ¶
func CfnWorkflow_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func NewCfnServer_Override ¶
func NewCfnServer_Override(c CfnServer, scope awscdk.Construct, id *string, props *CfnServerProps)
Create a new `AWS::Transfer::Server`.
func NewCfnUser_Override ¶
func NewCfnUser_Override(c CfnUser, scope awscdk.Construct, id *string, props *CfnUserProps)
Create a new `AWS::Transfer::User`.
func NewCfnWorkflow_Override ¶
func NewCfnWorkflow_Override(c CfnWorkflow, scope awscdk.Construct, id *string, props *CfnWorkflowProps)
Create a new `AWS::Transfer::Workflow`.
Types ¶
type CfnServer ¶
type CfnServer interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrServerId() *string Certificate() *string SetCertificate(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string Domain() *string SetDomain(val *string) EndpointDetails() interface{} SetEndpointDetails(val interface{}) EndpointType() *string SetEndpointType(val *string) IdentityProviderDetails() interface{} SetIdentityProviderDetails(val interface{}) IdentityProviderType() *string SetIdentityProviderType(val *string) LoggingRole() *string SetLoggingRole(val *string) LogicalId() *string Node() awscdk.ConstructNode ProtocolDetails() interface{} SetProtocolDetails(val interface{}) Protocols() *[]*string SetProtocols(val *[]*string) Ref() *string SecurityPolicyName() *string SetSecurityPolicyName(val *string) Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} WorkflowDetails() interface{} SetWorkflowDetails(val interface{}) AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Transfer::Server`.
Instantiates an auto-scaling virtual server based on the selected file transfer protocol in AWS . When you make updates to your file transfer protocol-enabled server or when you work with users, use the service-generated `ServerId` property that is assigned to the newly created server.
TODO: EXAMPLE
func NewCfnServer ¶
func NewCfnServer(scope awscdk.Construct, id *string, props *CfnServerProps) CfnServer
Create a new `AWS::Transfer::Server`.
type CfnServerProps ¶
type CfnServerProps struct { // The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM) certificate. // // Required when `Protocols` is set to `FTPS` . // // To request a new public certificate, see [Request a public certificate](https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html) in the *AWS Certificate Manager User Guide* . // // To import an existing certificate into ACM, see [Importing certificates into ACM](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *AWS Certificate Manager User Guide* . // // To request a private certificate to use FTPS through private IP addresses, see [Request a private certificate](https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html) in the *AWS Certificate Manager User Guide* . // // Certificates with the following cryptographic algorithms and key sizes are supported: // // - 2048-bit RSA (RSA_2048) // - 4096-bit RSA (RSA_4096) // - Elliptic Prime Curve 256 bit (EC_prime256v1) // - Elliptic Prime Curve 384 bit (EC_secp384r1) // - Elliptic Prime Curve 521 bit (EC_secp521r1) // // > The certificate must be a valid SSL/TLS X.509 version 3 certificate with FQDN or IP address specified and information about the issuer. Certificate *string `json:"certificate" yaml:"certificate"` // Specifies the domain of the storage system that is used for file transfers. Domain *string `json:"domain" yaml:"domain"` // The virtual private cloud (VPC) endpoint settings that are configured for your server. // // When you host your endpoint within your VPC, you can make it accessible only to resources within your VPC, or you can attach Elastic IPs and make it accessible to clients over the internet. You VPC's default security groups are automatically assigned to your endpoint. EndpointDetails interface{} `json:"endpointDetails" yaml:"endpointDetails"` // The type of VPC endpoint that you want your server to connect to. // // You can choose to connect to the public internet or a virtual private cloud (VPC) endpoint. With a VPC endpoint, you can restrict access to your server and resources only within your VPC. // // > It is recommended that you use `VPC` as the `EndpointType` . With this endpoint type, you have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your server's endpoint and use VPC security groups to restrict traffic by the client's public IP address. This is not possible with `EndpointType` set to `VPC_ENDPOINT` . EndpointType *string `json:"endpointType" yaml:"endpointType"` // Required when `IdentityProviderType` is set to `AWS_DIRECTORY_SERVICE` or `API_GATEWAY` . // // Accepts an array containing all of the information required to use a directory in `AWS_DIRECTORY_SERVICE` or invoke a customer-supplied authentication API, including the API Gateway URL. Not required when `IdentityProviderType` is set to `SERVICE_MANAGED` . IdentityProviderDetails interface{} `json:"identityProviderDetails" yaml:"identityProviderDetails"` // Specifies the mode of authentication for a server. // // The default value is `SERVICE_MANAGED` , which allows you to store and access user credentials within the AWS Transfer Family service. // // Use `AWS_DIRECTORY_SERVICE` to provide access to Active Directory groups in AWS Managed Active Directory or Microsoft Active Directory in your on-premises environment or in AWS using AD Connectors. This option also requires you to provide a Directory ID using the `IdentityProviderDetails` parameter. // // Use the `API_GATEWAY` value to integrate with an identity provider of your choosing. The `API_GATEWAY` setting requires you to provide an API Gateway endpoint URL to call for authentication using the `IdentityProviderDetails` parameter. // // Use the `AWS_LAMBDA` value to directly use a Lambda function as your identity provider. If you choose this value, you must specify the ARN for the lambda function in the `Function` parameter for the `IdentityProviderDetails` data type. IdentityProviderType *string `json:"identityProviderType" yaml:"identityProviderType"` // Specifies the Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. // // When set, user activity can be viewed in your CloudWatch logs. LoggingRole *string `json:"loggingRole" yaml:"loggingRole"` // Protocol settings that are configured for your server. // // > Only valid in the `UpdateServer` API. ProtocolDetails interface{} `json:"protocolDetails" yaml:"protocolDetails"` // Specifies the file transfer protocol or protocols over which your file transfer protocol client can connect to your server's endpoint. Protocols *[]*string `json:"protocols" yaml:"protocols"` // Specifies the name of the security policy that is attached to the server. SecurityPolicyName *string `json:"securityPolicyName" yaml:"securityPolicyName"` // Key-value pairs that can be used to group and search for servers. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` // Specifies the workflow ID for the workflow to assign and the execution role used for executing the workflow. WorkflowDetails interface{} `json:"workflowDetails" yaml:"workflowDetails"` }
Properties for defining a `CfnServer`.
TODO: EXAMPLE
type CfnServer_EndpointDetailsProperty ¶
type CfnServer_EndpointDetailsProperty struct { // A list of address allocation IDs that are required to attach an Elastic IP address to your server's endpoint. // // This is only valid in the `UpdateServer` API. // // > This property can only be set when `EndpointType` is set to `VPC` . AddressAllocationIds *[]*string `json:"addressAllocationIds" yaml:"addressAllocationIds"` // A list of security groups IDs that are available to attach to your server's endpoint. // // > This property can only be set when `EndpointType` is set to `VPC` . // // *Maximum number of security groups* : 5 SecurityGroupIds *[]*string `json:"securityGroupIds" yaml:"securityGroupIds"` // A list of subnet IDs that are required to host your server endpoint in your VPC. // // > This property can only be set when `EndpointType` is set to `VPC` . SubnetIds *[]*string `json:"subnetIds" yaml:"subnetIds"` // The ID of the VPC endpoint. // // > This property can only be set when `EndpointType` is set to `VPC_ENDPOINT` . VpcEndpointId *string `json:"vpcEndpointId" yaml:"vpcEndpointId"` // The VPC ID of the virtual private cloud in which the server's endpoint will be hosted. // // > This property can only be set when `EndpointType` is set to `VPC` . VpcId *string `json:"vpcId" yaml:"vpcId"` }
The virtual private cloud (VPC) endpoint settings that are configured for your server.
When you host your endpoint within your VPC, you can make it accessible only to resources within your VPC, or you can attach Elastic IPs and make it accessible to clients over the internet. You VPC's default security groups are automatically assigned to your endpoint.
> It is recommended that you use `VPC` as the `EndpointType` . With this endpoint type, you have the option to directly associate up to three Elastic IPv4 addresses (BYO IP included) with your server's endpoint and use VPC security groups to restrict traffic by the client's public IP address. This is not possible with `EndpointType` set to `VPC_ENDPOINT` .
TODO: EXAMPLE
type CfnServer_IdentityProviderDetailsProperty ¶
type CfnServer_IdentityProviderDetailsProperty struct { // The identifier of the AWS Directory Service directory that you want to stop sharing. DirectoryId *string `json:"directoryId" yaml:"directoryId"` // The ARN for a lambda function to use for the Identity provider. Function *string `json:"function" yaml:"function"` // Provides the type of `InvocationRole` used to authenticate the user account. InvocationRole *string `json:"invocationRole" yaml:"invocationRole"` // Provides the location of the service endpoint used to authenticate users. Url *string `json:"url" yaml:"url"` }
Required when `IdentityProviderType` is set to `AWS_DIRECTORY_SERVICE` or `API_GATEWAY` .
Accepts an array containing all of the information required to use a directory in `AWS_DIRECTORY_SERVICE` or invoke a customer-supplied authentication API, including the API Gateway URL. Not required when `IdentityProviderType` is set to `SERVICE_MANAGED` .
TODO: EXAMPLE
type CfnServer_ProtocolDetailsProperty ¶
type CfnServer_ProtocolDetailsProperty struct { // Indicates passive mode, for FTP and FTPS protocols. // // Enter a single dotted-quad IPv4 address, such as the external IP address of a firewall, router, or load balancer. PassiveIp *string `json:"passiveIp" yaml:"passiveIp"` // A property used with Transfer servers that use the FTPS protocol. // // TLS Session Resumption provides a mechanism to resume or share a negotiated secret key between the control and data connection for an FTPS session. `TlsSessionResumptionMode` determines whether or not the server resumes recent, negotiated sessions through a unique session ID. This property is available during `CreateServer` and `UpdateServer` calls. If a `TlsSessionResumptionMode` value is not specified during CreateServer, it is set to `ENFORCED` by default. // // - `DISABLED` : the server does not process TLS session resumption client requests and creates a new TLS session for each request. // - `ENABLED` : the server processes and accepts clients that are performing TLS session resumption. The server doesn't reject client data connections that do not perform the TLS session resumption client processing. // - `ENFORCED` : the server processes and accepts clients that are performing TLS session resumption. The server rejects client data connections that do not perform the TLS session resumption client processing. Before you set the value to `ENFORCED` , test your clients. // // > Not all FTPS clients perform TLS session resumption. So, if you choose to enforce TLS session resumption, you prevent any connections from FTPS clients that don't perform the protocol negotiation. To determine whether or not you can use the `ENFORCED` value, you need to test your clients. TlsSessionResumptionMode *string `json:"tlsSessionResumptionMode" yaml:"tlsSessionResumptionMode"` }
Protocol settings that are configured for your server.
TODO: EXAMPLE
type CfnServer_WorkflowDetailProperty ¶
type CfnServer_WorkflowDetailProperty struct { // Includes the necessary permissions for S3, EFS, and Lambda operations that Transfer can assume, so that all workflow steps can operate on the required resources. ExecutionRole *string `json:"executionRole" yaml:"executionRole"` // A unique identifier for the workflow. WorkflowId *string `json:"workflowId" yaml:"workflowId"` }
Specifies the workflow ID for the workflow to assign and the execution role used for executing the workflow.
TODO: EXAMPLE
type CfnServer_WorkflowDetailsProperty ¶
type CfnServer_WorkflowDetailsProperty struct {
// A trigger that starts a workflow: the workflow begins to execute after a file is uploaded.
OnUpload interface{} `json:"onUpload" yaml:"onUpload"`
}
Container for the `WorkflowDetail` data type.
It is used by actions that trigger a workflow to begin execution.
TODO: EXAMPLE
type CfnUser ¶
type CfnUser interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrServerId() *string AttrUserName() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string HomeDirectory() *string SetHomeDirectory(val *string) HomeDirectoryMappings() interface{} SetHomeDirectoryMappings(val interface{}) HomeDirectoryType() *string SetHomeDirectoryType(val *string) LogicalId() *string Node() awscdk.ConstructNode Policy() *string SetPolicy(val *string) PosixProfile() interface{} SetPosixProfile(val interface{}) Ref() *string Role() *string SetRole(val *string) ServerId() *string SetServerId(val *string) SshPublicKeys() *[]*string SetSshPublicKeys(val *[]*string) Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} UserName() *string SetUserName(val *string) AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Transfer::User`.
The `AWS::Transfer::User` resource creates a user and associates them with an existing server. You can only create and associate users with servers that have the `IdentityProviderType` set to `SERVICE_MANAGED` . Using parameters for `CreateUser` , you can specify the user name, set the home directory, store the user's public key, and assign the user's AWS Identity and Access Management (IAM) role. You can also optionally add a session policy, and assign metadata with tags that can be used to group and search for users.
TODO: EXAMPLE
func NewCfnUser ¶
func NewCfnUser(scope awscdk.Construct, id *string, props *CfnUserProps) CfnUser
Create a new `AWS::Transfer::User`.
type CfnUserProps ¶
type CfnUserProps struct { // Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or EFS file system. // // The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests. Role *string `json:"role" yaml:"role"` // A system-assigned unique identifier for a server instance. // // This is the specific server that you added your user to. ServerId *string `json:"serverId" yaml:"serverId"` // A unique string that identifies a user and is associated with a `ServerId` . // // This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign. UserName *string `json:"userName" yaml:"userName"` // The landing directory (folder) for a user when they log in to the server using the client. // // A `HomeDirectory` example is `/bucket_name/home/mydirectory` . HomeDirectory *string `json:"homeDirectory" yaml:"homeDirectory"` // Logical directory mappings that specify what Amazon S3 paths and keys should be visible to your user and how you want to make them visible. // // You will need to specify the " `Entry` " and " `Target` " pair, where `Entry` shows how the path is made visible and `Target` is the actual Amazon S3 path. If you only specify a target, it will be displayed as is. You will need to also make sure that your IAM role provides access to paths in `Target` . The following is an example. // // `'[ { "Entry": "/", "Target": "/bucket3/customized-reports/" } ]'` // // In most cases, you can use this value instead of the session policy to lock your user down to the designated home directory ("chroot"). To do this, you can set `Entry` to '/' and set `Target` to the HomeDirectory parameter value. // // > If the target of a logical directory entry does not exist in Amazon S3, the entry will be ignored. As a workaround, you can use the Amazon S3 API to create 0 byte objects as place holders for your directory. If using the CLI, use the `s3api` call instead of `s3` so you can use the put-object operation. For example, you use the following: `AWS s3api put-object --bucket bucketname --key path/to/folder/` . Make sure that the end of the key name ends in a '/' for it to be considered a folder. HomeDirectoryMappings interface{} `json:"homeDirectoryMappings" yaml:"homeDirectoryMappings"` // The type of landing directory (folder) you want your users' home directory to be when they log into the server. // // If you set it to `PATH` , the user will see the absolute Amazon S3 bucket or EFS paths as is in their file transfer protocol clients. If you set it `LOGICAL` , you need to provide mappings in the `HomeDirectoryMappings` for how you want to make Amazon S3 or EFS paths visible to your users. HomeDirectoryType *string `json:"homeDirectoryType" yaml:"homeDirectoryType"` // A session policy for your user so you can use the same IAM role across multiple users. // // This policy restricts user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include `${Transfer:UserName}` , `${Transfer:HomeDirectory}` , and `${Transfer:HomeBucket}` . // // > For session policies, AWS Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the `Policy` argument. // > // > For an example of a session policy, see [Example session policy](https://docs.aws.amazon.com/transfer/latest/userguide/session-policy.html) . // > // > For more information, see [AssumeRole](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html) in the *AWS Security Token Service API Reference* . Policy *string `json:"policy" yaml:"policy"` // Specifies the full POSIX identity, including user ID ( `Uid` ), group ID ( `Gid` ), and any secondary groups IDs ( `SecondaryGids` ), that controls your users' access to your Amazon Elastic File System (Amazon EFS) file systems. // // The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems. PosixProfile interface{} `json:"posixProfile" yaml:"posixProfile"` // Specifies the public key portion of the Secure Shell (SSH) keys stored for the described user. SshPublicKeys *[]*string `json:"sshPublicKeys" yaml:"sshPublicKeys"` // Key-value pairs that can be used to group and search for users. // // Tags are metadata attached to users for any purpose. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnUser`.
TODO: EXAMPLE
type CfnUser_HomeDirectoryMapEntryProperty ¶
type CfnUser_HomeDirectoryMapEntryProperty struct { // Represents an entry for `HomeDirectoryMappings` . Entry *string `json:"entry" yaml:"entry"` // Represents the map target that is used in a `HomeDirectorymapEntry` . Target *string `json:"target" yaml:"target"` }
Represents an object that contains entries and targets for `HomeDirectoryMappings` .
TODO: EXAMPLE
type CfnUser_PosixProfileProperty ¶
type CfnUser_PosixProfileProperty struct { // The POSIX group ID used for all EFS operations by this user. Gid *float64 `json:"gid" yaml:"gid"` // The POSIX user ID used for all EFS operations by this user. Uid *float64 `json:"uid" yaml:"uid"` // The secondary POSIX group IDs used for all EFS operations by this user. SecondaryGids interface{} `json:"secondaryGids" yaml:"secondaryGids"` }
The full POSIX identity, including user ID ( `Uid` ), group ID ( `Gid` ), and any secondary groups IDs ( `SecondaryGids` ), that controls your users' access to your Amazon EFS file systems.
The POSIX permissions that are set on files and directories in your file system determine the level of access your users get when transferring files into and out of your Amazon EFS file systems.
TODO: EXAMPLE
type CfnWorkflow ¶
type CfnWorkflow interface { awscdk.CfnResource awscdk.IInspectable AttrArn() *string AttrWorkflowId() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string Description() *string SetDescription(val *string) LogicalId() *string Node() awscdk.ConstructNode OnExceptionSteps() interface{} SetOnExceptionSteps(val interface{}) Ref() *string Stack() awscdk.Stack Steps() interface{} SetSteps(val interface{}) Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OnPrepare() OnSynthesize(session constructs.ISynthesisSession) OnValidate() *[]*string OverrideLogicalId(newLogicalId *string) Prepare() RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool Synthesize(session awscdk.ISynthesisSession) ToString() *string Validate() *[]*string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::Transfer::Workflow`.
Allows you to create a workflow with specified steps and step details the workflow invokes after file transfer completes. After creating a workflow, you can associate the workflow created with any transfer servers by specifying the `workflow-details` field in `CreateServer` and `UpdateServer` operations.
TODO: EXAMPLE
func NewCfnWorkflow ¶
func NewCfnWorkflow(scope awscdk.Construct, id *string, props *CfnWorkflowProps) CfnWorkflow
Create a new `AWS::Transfer::Workflow`.
type CfnWorkflowProps ¶
type CfnWorkflowProps struct { // Specifies the details for the steps that are in the specified workflow. Steps interface{} `json:"steps" yaml:"steps"` // Specifies the text description for the workflow. Description *string `json:"description" yaml:"description"` // Specifies the steps (actions) to take if errors are encountered during execution of the workflow. OnExceptionSteps interface{} `json:"onExceptionSteps" yaml:"onExceptionSteps"` // Key-value pairs that can be used to group and search for workflows. // // Tags are metadata attached to workflows for any purpose. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }
Properties for defining a `CfnWorkflow`.
TODO: EXAMPLE
type CfnWorkflow_WorkflowStepProperty ¶
type CfnWorkflow_WorkflowStepProperty struct { // Details for a step that performs a file copy. Consists of the following values:. // // - A description // - An S3 location for the destination of the file copy // - A flag that indicates whether or not to overwrite an existing file of the same name. The default is `FALSE` . CopyStepDetails interface{} `json:"copyStepDetails" yaml:"copyStepDetails"` // Details for a step that invokes a lambda function. // // Consists of the lambda function name, target, and timeout (in seconds). CustomStepDetails interface{} `json:"customStepDetails" yaml:"customStepDetails"` // Details for a step that deletes the file. DeleteStepDetails interface{} `json:"deleteStepDetails" yaml:"deleteStepDetails"` // Details for a step that creates one or more tags. // // You specify one or more tags: each tag contains a key/value pair. TagStepDetails interface{} `json:"tagStepDetails" yaml:"tagStepDetails"` // Currently, the following step types are supported. // // - *Copy* : copy the file to another location // - *Custom* : custom step with a lambda target // - *Delete* : delete the file // - *Tag* : add a tag to the file Type *string `json:"type" yaml:"type"` }
The basic building block of a workflow.
TODO: EXAMPLE