We recommend new projects start with resources from the AWS provider.
aws-native.vpclattice.Service
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
Create Service Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Service(name: string, args?: ServiceArgs, opts?: CustomResourceOptions);@overload
def Service(resource_name: str,
            args: Optional[ServiceArgs] = None,
            opts: Optional[ResourceOptions] = None)
@overload
def Service(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            auth_type: Optional[ServiceAuthType] = None,
            certificate_arn: Optional[str] = None,
            custom_domain_name: Optional[str] = None,
            dns_entry: Optional[ServiceDnsEntryArgs] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewService(ctx *Context, name string, args *ServiceArgs, opts ...ResourceOption) (*Service, error)public Service(string name, ServiceArgs? args = null, CustomResourceOptions? opts = null)
public Service(String name, ServiceArgs args)
public Service(String name, ServiceArgs args, CustomResourceOptions options)
type: aws-native:vpclattice:Service
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Service Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Service resource accepts the following input properties:
- AuthType Pulumi.Aws Native. Vpc Lattice. Service Auth Type 
- 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.
 
- CertificateArn string
- The Amazon Resource Name (ARN) of the certificate.
- CustomDomain stringName 
- The custom domain name of the service.
- DnsEntry Pulumi.Aws Native. Vpc Lattice. Inputs. Service Dns Entry 
- The DNS information of the service.
- Name string
- The name of the service. The name must be unique within 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. 
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- The tags for the service.
- AuthType ServiceAuth Type 
- 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.
 
- CertificateArn string
- The Amazon Resource Name (ARN) of the certificate.
- CustomDomain stringName 
- The custom domain name of the service.
- DnsEntry ServiceDns Entry Args 
- The DNS information of the service.
- Name string
- The name of the service. The name must be unique within 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. 
- 
TagArgs 
- The tags for the service.
- authType ServiceAuth Type 
- 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.
 
- certificateArn String
- The Amazon Resource Name (ARN) of the certificate.
- customDomain StringName 
- The custom domain name of the service.
- dnsEntry ServiceDns Entry 
- The DNS information of the service.
- name String
- The name of the service. The name must be unique within 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. 
- List<Tag>
- The tags for the service.
- authType ServiceAuth Type 
- 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.
 
- certificateArn string
- The Amazon Resource Name (ARN) of the certificate.
- customDomain stringName 
- The custom domain name of the service.
- dnsEntry ServiceDns Entry 
- The DNS information of the service.
- name string
- The name of the service. The name must be unique within 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. 
- Tag[]
- The tags for the service.
- auth_type ServiceAuth Type 
- 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.
 
- certificate_arn str
- The Amazon Resource Name (ARN) of the certificate.
- custom_domain_ strname 
- The custom domain name of the service.
- dns_entry ServiceDns Entry Args 
- The DNS information of the service.
- name str
- The name of the service. The name must be unique within 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. 
- 
Sequence[TagArgs] 
- The tags for the service.
- authType "NONE" | "AWS_IAM"
- 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.
 
- certificateArn String
- The Amazon Resource Name (ARN) of the certificate.
- customDomain StringName 
- The custom domain name of the service.
- dnsEntry Property Map
- The DNS information of the service.
- name String
- The name of the service. The name must be unique within 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. 
- List<Property Map>
- The tags for the service.
Outputs
All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:
- Arn string
- The Amazon Resource Name (ARN) of the service.
- AwsId string
- The ID of the service.
- CreatedAt string
- The date and time that the service was created, specified in ISO-8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- Status
Pulumi.Aws Native. Vpc Lattice. Service Status 
- The status of the service.
- Arn string
- The Amazon Resource Name (ARN) of the service.
- AwsId string
- The ID of the service.
- CreatedAt string
- The date and time that the service was created, specified in ISO-8601 format.
- Id string
- The provider-assigned unique ID for this managed resource.
- LastUpdated stringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- Status
ServiceStatus 
- The status of the service.
- arn String
- The Amazon Resource Name (ARN) of the service.
- awsId String
- The ID of the service.
- createdAt String
- The date and time that the service was created, specified in ISO-8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus 
- The status of the service.
- arn string
- The Amazon Resource Name (ARN) of the service.
- awsId string
- The ID of the service.
- createdAt string
- The date and time that the service was created, specified in ISO-8601 format.
- id string
- The provider-assigned unique ID for this managed resource.
- lastUpdated stringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus 
- The status of the service.
- arn str
- The Amazon Resource Name (ARN) of the service.
- aws_id str
- The ID of the service.
- created_at str
- The date and time that the service was created, specified in ISO-8601 format.
- id str
- The provider-assigned unique ID for this managed resource.
- last_updated_ strat 
- The date and time that the service was last updated, specified in ISO-8601 format.
- status
ServiceStatus 
- The status of the service.
- arn String
- The Amazon Resource Name (ARN) of the service.
- awsId String
- The ID of the service.
- createdAt String
- The date and time that the service was created, specified in ISO-8601 format.
- id String
- The provider-assigned unique ID for this managed resource.
- lastUpdated StringAt 
- The date and time that the service was last updated, specified in ISO-8601 format.
- status "ACTIVE" | "CREATE_IN_PROGRESS" | "DELETE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_FAILED"
- The status of the service.
Supporting Types
ServiceAuthType, ServiceAuthTypeArgs      
- None
- NONE
- AwsIam 
- AWS_IAM
- ServiceAuth Type None 
- NONE
- ServiceAuth Type Aws Iam 
- AWS_IAM
- None
- NONE
- AwsIam 
- AWS_IAM
- None
- NONE
- AwsIam 
- AWS_IAM
- NONE
- NONE
- AWS_IAM
- AWS_IAM
- "NONE"
- NONE
- "AWS_IAM"
- AWS_IAM
ServiceDnsEntry, ServiceDnsEntryArgs      
- DomainName string
- The domain name of the service.
- HostedZone stringId 
- The ID of the hosted zone.
- DomainName string
- The domain name of the service.
- HostedZone stringId 
- The ID of the hosted zone.
- domainName String
- The domain name of the service.
- hostedZone StringId 
- The ID of the hosted zone.
- domainName string
- The domain name of the service.
- hostedZone stringId 
- The ID of the hosted zone.
- domain_name str
- The domain name of the service.
- hosted_zone_ strid 
- The ID of the hosted zone.
- domainName String
- The domain name of the service.
- hostedZone StringId 
- The ID of the hosted zone.
ServiceStatus, ServiceStatusArgs    
- Active
- ACTIVE
- CreateIn Progress 
- CREATE_IN_PROGRESS
- DeleteIn Progress 
- DELETE_IN_PROGRESS
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- ServiceStatus Active 
- ACTIVE
- ServiceStatus Create In Progress 
- CREATE_IN_PROGRESS
- ServiceStatus Delete In Progress 
- DELETE_IN_PROGRESS
- ServiceStatus Create Failed 
- CREATE_FAILED
- ServiceStatus Delete Failed 
- DELETE_FAILED
- Active
- ACTIVE
- CreateIn Progress 
- CREATE_IN_PROGRESS
- DeleteIn Progress 
- DELETE_IN_PROGRESS
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- Active
- ACTIVE
- CreateIn Progress 
- CREATE_IN_PROGRESS
- DeleteIn Progress 
- DELETE_IN_PROGRESS
- CreateFailed 
- CREATE_FAILED
- DeleteFailed 
- DELETE_FAILED
- ACTIVE
- ACTIVE
- CREATE_IN_PROGRESS
- CREATE_IN_PROGRESS
- DELETE_IN_PROGRESS
- DELETE_IN_PROGRESS
- CREATE_FAILED
- CREATE_FAILED
- DELETE_FAILED
- DELETE_FAILED
- "ACTIVE"
- ACTIVE
- "CREATE_IN_PROGRESS"
- CREATE_IN_PROGRESS
- "DELETE_IN_PROGRESS"
- DELETE_IN_PROGRESS
- "CREATE_FAILED"
- CREATE_FAILED
- "DELETE_FAILED"
- DELETE_FAILED
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.