interface CfnServiceNetworkProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.VpcLattice.CfnServiceNetworkProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsvpclattice#CfnServiceNetworkProps |
![]() | software.amazon.awscdk.services.vpclattice.CfnServiceNetworkProps |
![]() | aws_cdk.aws_vpclattice.CfnServiceNetworkProps |
![]() | aws-cdk-lib » aws_vpclattice » CfnServiceNetworkProps |
Properties for defining a CfnServiceNetwork
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_vpclattice as vpclattice } from 'aws-cdk-lib';
const cfnServiceNetworkProps: vpclattice.CfnServiceNetworkProps = {
authType: 'authType',
name: 'name',
sharingConfig: {
enabled: false,
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
auth | string | The type of IAM policy. |
name? | string | The name of the service network. |
sharing | IResolvable | Sharing | Specify if the service network should be enabled for sharing. |
tags? | Cfn [] | The tags for the service network. |
authType?
Type:
string
(optional, default: "NONE")
The type of IAM policy.
NONE
: The resource does not use an IAM policy. This is the default.AWS_IAM
: The resource uses an IAM policy. When this type is used, auth is enabled and an auth policy is required.
name?
Type:
string
(optional)
The name of the service network.
The name must be unique to the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
If you don't specify a name, CloudFormation generates one. However, if you specify a name, and later want to replace the resource, you must specify a new name.
sharingConfig?
Type:
IResolvable
|
Sharing
(optional)
Specify if the service network should be enabled for sharing.
tags?
Type:
Cfn
[]
(optional)
The tags for the service network.