AWS::VpcLattice::ServiceNetworkCreates a service network. A service network is a logical boundary for a collection of services. You can associate services and VPCs with a service network. For more information, see [Service networks](https://docs.aws.amazon.com/vpc-lattice/latest/ug/service-networks.html) in the *Amazon VPC Lattice User Guide* .
import { CfnServiceNetwork } from 'aws-cdk-lib/aws-vpclattice';Or use the module namespace:
import * as vpclattice from 'aws-cdk-lib/aws-vpclattice';
// vpclattice.CfnServiceNetworkConfiguration passed to the constructor as CfnServiceNetworkProps.
authTypeOptionalstringThe 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.
Default: - "NONE"
nameOptionalstringThe 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.
sharingConfigOptionalIResolvable | SharingConfigPropertySpecify if the service network should be enabled for sharing.
tagsOptionalCfnTag[]The tags for the service network.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-vpclatticeAWS::VpcLattice::ServiceNetwork