NAME
Paws::CodeStarConnections::CreateHost - Arguments for method CreateHost on Paws::CodeStarConnections
DESCRIPTION
This class represents the parameters used for calling the method CreateHost on the AWS CodeStar connections service. Use the attributes of this class as arguments to method CreateHost.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateHost.
SYNOPSIS
my $codestar-connections = Paws->service('CodeStarConnections');
my $CreateHostOutput = $codestar -connections->CreateHost(
Name => 'MyHostName',
ProviderEndpoint => 'MyUrl',
ProviderType => 'Bitbucket',
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # max: 256
},
...
], # OPTIONAL
VpcConfiguration => {
SecurityGroupIds => [
'MySecurityGroupId', ... # min: 11, max: 20
], # min: 1, max: 10
SubnetIds => [
'MySubnetId', ... # min: 15, max: 24
], # min: 1, max: 10
VpcId => 'MyVpcId', # min: 12, max: 21
TlsCertificate => 'MyTlsCertificate', # min: 1, max: 16384; OPTIONAL
}, # OPTIONAL
);
# Results:
my $HostArn = $CreateHostOutput->HostArn;
my $Tags = $CreateHostOutput->Tags;
# Returns a L<Paws::CodeStarConnections::CreateHostOutput> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/codestar-connections/CreateHost
ATTRIBUTES
REQUIRED Name => Str
The name of the host to be created. The name must be unique in the calling AWS account.
REQUIRED ProviderEndpoint => Str
The endpoint of the infrastructure to be represented by the host after it is created.
REQUIRED ProviderType => Str
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
Valid values are: "Bitbucket"
, "GitHub"
, "GitHubEnterpriseServer"
Tags => ArrayRef[Paws::CodeStarConnections::Tag]
VpcConfiguration => Paws::CodeStarConnections::VpcConfiguration
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateHost in Paws::CodeStarConnections
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues