octopusdeploy.AwsOpenidConnectAccount
Explore with Pulumi AI
This resource manages AWS OIDC accounts in Octopus Deploy.
Create AwsOpenidConnectAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AwsOpenidConnectAccount(name: string, args: AwsOpenidConnectAccountArgs, opts?: CustomResourceOptions);
@overload
def AwsOpenidConnectAccount(resource_name: str,
args: AwsOpenidConnectAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AwsOpenidConnectAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
role_arn: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
environments: Optional[Sequence[str]] = None,
execution_subject_keys: Optional[Sequence[str]] = None,
health_subject_keys: Optional[Sequence[str]] = None,
account_test_subject_keys: Optional[Sequence[str]] = None,
aws_openid_connect_account_id: Optional[str] = None,
session_duration: Optional[float] = None,
space_id: Optional[str] = None,
tenant_tags: Optional[Sequence[str]] = None,
tenanted_deployment_participation: Optional[str] = None,
tenants: Optional[Sequence[str]] = None)
func NewAwsOpenidConnectAccount(ctx *Context, name string, args AwsOpenidConnectAccountArgs, opts ...ResourceOption) (*AwsOpenidConnectAccount, error)
public AwsOpenidConnectAccount(string name, AwsOpenidConnectAccountArgs args, CustomResourceOptions? opts = null)
public AwsOpenidConnectAccount(String name, AwsOpenidConnectAccountArgs args)
public AwsOpenidConnectAccount(String name, AwsOpenidConnectAccountArgs args, CustomResourceOptions options)
type: octopusdeploy:AwsOpenidConnectAccount
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 AwsOpenidConnectAccountArgs
- 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 AwsOpenidConnectAccountArgs
- 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 AwsOpenidConnectAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AwsOpenidConnectAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AwsOpenidConnectAccountArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsOpenidConnectAccountResource = new Octopusdeploy.AwsOpenidConnectAccount("awsOpenidConnectAccountResource", new()
{
RoleArn = "string",
Name = "string",
Description = "string",
Environments = new[]
{
"string",
},
ExecutionSubjectKeys = new[]
{
"string",
},
HealthSubjectKeys = new[]
{
"string",
},
AccountTestSubjectKeys = new[]
{
"string",
},
AwsOpenidConnectAccountId = "string",
SessionDuration = 0,
SpaceId = "string",
TenantTags = new[]
{
"string",
},
TenantedDeploymentParticipation = "string",
Tenants = new[]
{
"string",
},
});
example, err := octopusdeploy.NewAwsOpenidConnectAccount(ctx, "awsOpenidConnectAccountResource", &octopusdeploy.AwsOpenidConnectAccountArgs{
RoleArn: pulumi.String("string"),
Name: pulumi.String("string"),
Description: pulumi.String("string"),
Environments: pulumi.StringArray{
pulumi.String("string"),
},
ExecutionSubjectKeys: pulumi.StringArray{
pulumi.String("string"),
},
HealthSubjectKeys: pulumi.StringArray{
pulumi.String("string"),
},
AccountTestSubjectKeys: pulumi.StringArray{
pulumi.String("string"),
},
AwsOpenidConnectAccountId: pulumi.String("string"),
SessionDuration: pulumi.Float64(0),
SpaceId: pulumi.String("string"),
TenantTags: pulumi.StringArray{
pulumi.String("string"),
},
TenantedDeploymentParticipation: pulumi.String("string"),
Tenants: pulumi.StringArray{
pulumi.String("string"),
},
})
var awsOpenidConnectAccountResource = new AwsOpenidConnectAccount("awsOpenidConnectAccountResource", AwsOpenidConnectAccountArgs.builder()
.roleArn("string")
.name("string")
.description("string")
.environments("string")
.executionSubjectKeys("string")
.healthSubjectKeys("string")
.accountTestSubjectKeys("string")
.awsOpenidConnectAccountId("string")
.sessionDuration(0)
.spaceId("string")
.tenantTags("string")
.tenantedDeploymentParticipation("string")
.tenants("string")
.build());
aws_openid_connect_account_resource = octopusdeploy.AwsOpenidConnectAccount("awsOpenidConnectAccountResource",
role_arn="string",
name="string",
description="string",
environments=["string"],
execution_subject_keys=["string"],
health_subject_keys=["string"],
account_test_subject_keys=["string"],
aws_openid_connect_account_id="string",
session_duration=0,
space_id="string",
tenant_tags=["string"],
tenanted_deployment_participation="string",
tenants=["string"])
const awsOpenidConnectAccountResource = new octopusdeploy.AwsOpenidConnectAccount("awsOpenidConnectAccountResource", {
roleArn: "string",
name: "string",
description: "string",
environments: ["string"],
executionSubjectKeys: ["string"],
healthSubjectKeys: ["string"],
accountTestSubjectKeys: ["string"],
awsOpenidConnectAccountId: "string",
sessionDuration: 0,
spaceId: "string",
tenantTags: ["string"],
tenantedDeploymentParticipation: "string",
tenants: ["string"],
});
type: octopusdeploy:AwsOpenidConnectAccount
properties:
accountTestSubjectKeys:
- string
awsOpenidConnectAccountId: string
description: string
environments:
- string
executionSubjectKeys:
- string
healthSubjectKeys:
- string
name: string
roleArn: string
sessionDuration: 0
spaceId: string
tenantTags:
- string
tenantedDeploymentParticipation: string
tenants:
- string
AwsOpenidConnectAccount 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 AwsOpenidConnectAccount resource accepts the following input properties:
- Role
Arn string - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- Account
Test List<string>Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- Aws
Openid stringConnect Account Id - The ID of this resource.
- Description string
- A user-friendly description of this AWS OIDC account.
- Environments List<string>
- A list of environment IDs associated with this resource.
- Execution
Subject List<string>Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- Health
Subject List<string>Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- Name string
- The name of this AWS OIDC account.
- Session
Duration double - The duration, in seconds, of the role session.
- Space
Id string - The space ID associated with this resource.
- List<string>
- A list of tenant tags associated with this resource.
- Tenanted
Deployment stringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - Tenants List<string>
- A list of tenant IDs associated with this resource.
- Role
Arn string - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- Account
Test []stringSubject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- Aws
Openid stringConnect Account Id - The ID of this resource.
- Description string
- A user-friendly description of this AWS OIDC account.
- Environments []string
- A list of environment IDs associated with this resource.
- Execution
Subject []stringKeys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- Health
Subject []stringKeys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- Name string
- The name of this AWS OIDC account.
- Session
Duration float64 - The duration, in seconds, of the role session.
- Space
Id string - The space ID associated with this resource.
- []string
- A list of tenant tags associated with this resource.
- Tenanted
Deployment stringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - Tenants []string
- A list of tenant IDs associated with this resource.
- role
Arn String - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- account
Test List<String>Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws
Openid StringConnect Account Id - The ID of this resource.
- description String
- A user-friendly description of this AWS OIDC account.
- environments List<String>
- A list of environment IDs associated with this resource.
- execution
Subject List<String>Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health
Subject List<String>Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name String
- The name of this AWS OIDC account.
- session
Duration Double - The duration, in seconds, of the role session.
- space
Id String - The space ID associated with this resource.
- List<String>
- A list of tenant tags associated with this resource.
- tenanted
Deployment StringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants List<String>
- A list of tenant IDs associated with this resource.
- role
Arn string - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- account
Test string[]Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws
Openid stringConnect Account Id - The ID of this resource.
- description string
- A user-friendly description of this AWS OIDC account.
- environments string[]
- A list of environment IDs associated with this resource.
- execution
Subject string[]Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health
Subject string[]Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name string
- The name of this AWS OIDC account.
- session
Duration number - The duration, in seconds, of the role session.
- space
Id string - The space ID associated with this resource.
- string[]
- A list of tenant tags associated with this resource.
- tenanted
Deployment stringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants string[]
- A list of tenant IDs associated with this resource.
- role_
arn str - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- account_
test_ Sequence[str]subject_ keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws_
openid_ strconnect_ account_ id - The ID of this resource.
- description str
- A user-friendly description of this AWS OIDC account.
- environments Sequence[str]
- A list of environment IDs associated with this resource.
- execution_
subject_ Sequence[str]keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health_
subject_ Sequence[str]keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name str
- The name of this AWS OIDC account.
- session_
duration float - The duration, in seconds, of the role session.
- space_
id str - The space ID associated with this resource.
- Sequence[str]
- A list of tenant tags associated with this resource.
- tenanted_
deployment_ strparticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants Sequence[str]
- A list of tenant IDs associated with this resource.
- role
Arn String - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- account
Test List<String>Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws
Openid StringConnect Account Id - The ID of this resource.
- description String
- A user-friendly description of this AWS OIDC account.
- environments List<String>
- A list of environment IDs associated with this resource.
- execution
Subject List<String>Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health
Subject List<String>Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name String
- The name of this AWS OIDC account.
- session
Duration Number - The duration, in seconds, of the role session.
- space
Id String - The space ID associated with this resource.
- List<String>
- A list of tenant tags associated with this resource.
- tenanted
Deployment StringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants List<String>
- A list of tenant IDs associated with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the AwsOpenidConnectAccount resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AwsOpenidConnectAccount Resource
Get an existing AwsOpenidConnectAccount resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AwsOpenidConnectAccountState, opts?: CustomResourceOptions): AwsOpenidConnectAccount
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_test_subject_keys: Optional[Sequence[str]] = None,
aws_openid_connect_account_id: Optional[str] = None,
description: Optional[str] = None,
environments: Optional[Sequence[str]] = None,
execution_subject_keys: Optional[Sequence[str]] = None,
health_subject_keys: Optional[Sequence[str]] = None,
name: Optional[str] = None,
role_arn: Optional[str] = None,
session_duration: Optional[float] = None,
space_id: Optional[str] = None,
tenant_tags: Optional[Sequence[str]] = None,
tenanted_deployment_participation: Optional[str] = None,
tenants: Optional[Sequence[str]] = None) -> AwsOpenidConnectAccount
func GetAwsOpenidConnectAccount(ctx *Context, name string, id IDInput, state *AwsOpenidConnectAccountState, opts ...ResourceOption) (*AwsOpenidConnectAccount, error)
public static AwsOpenidConnectAccount Get(string name, Input<string> id, AwsOpenidConnectAccountState? state, CustomResourceOptions? opts = null)
public static AwsOpenidConnectAccount get(String name, Output<String> id, AwsOpenidConnectAccountState state, CustomResourceOptions options)
resources: _: type: octopusdeploy:AwsOpenidConnectAccount get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Test List<string>Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- Aws
Openid stringConnect Account Id - The ID of this resource.
- Description string
- A user-friendly description of this AWS OIDC account.
- Environments List<string>
- A list of environment IDs associated with this resource.
- Execution
Subject List<string>Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- Health
Subject List<string>Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- Name string
- The name of this AWS OIDC account.
- Role
Arn string - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- Session
Duration double - The duration, in seconds, of the role session.
- Space
Id string - The space ID associated with this resource.
- List<string>
- A list of tenant tags associated with this resource.
- Tenanted
Deployment stringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - Tenants List<string>
- A list of tenant IDs associated with this resource.
- Account
Test []stringSubject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- Aws
Openid stringConnect Account Id - The ID of this resource.
- Description string
- A user-friendly description of this AWS OIDC account.
- Environments []string
- A list of environment IDs associated with this resource.
- Execution
Subject []stringKeys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- Health
Subject []stringKeys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- Name string
- The name of this AWS OIDC account.
- Role
Arn string - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- Session
Duration float64 - The duration, in seconds, of the role session.
- Space
Id string - The space ID associated with this resource.
- []string
- A list of tenant tags associated with this resource.
- Tenanted
Deployment stringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - Tenants []string
- A list of tenant IDs associated with this resource.
- account
Test List<String>Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws
Openid StringConnect Account Id - The ID of this resource.
- description String
- A user-friendly description of this AWS OIDC account.
- environments List<String>
- A list of environment IDs associated with this resource.
- execution
Subject List<String>Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health
Subject List<String>Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name String
- The name of this AWS OIDC account.
- role
Arn String - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- session
Duration Double - The duration, in seconds, of the role session.
- space
Id String - The space ID associated with this resource.
- List<String>
- A list of tenant tags associated with this resource.
- tenanted
Deployment StringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants List<String>
- A list of tenant IDs associated with this resource.
- account
Test string[]Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws
Openid stringConnect Account Id - The ID of this resource.
- description string
- A user-friendly description of this AWS OIDC account.
- environments string[]
- A list of environment IDs associated with this resource.
- execution
Subject string[]Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health
Subject string[]Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name string
- The name of this AWS OIDC account.
- role
Arn string - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- session
Duration number - The duration, in seconds, of the role session.
- space
Id string - The space ID associated with this resource.
- string[]
- A list of tenant tags associated with this resource.
- tenanted
Deployment stringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants string[]
- A list of tenant IDs associated with this resource.
- account_
test_ Sequence[str]subject_ keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws_
openid_ strconnect_ account_ id - The ID of this resource.
- description str
- A user-friendly description of this AWS OIDC account.
- environments Sequence[str]
- A list of environment IDs associated with this resource.
- execution_
subject_ Sequence[str]keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health_
subject_ Sequence[str]keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name str
- The name of this AWS OIDC account.
- role_
arn str - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- session_
duration float - The duration, in seconds, of the role session.
- space_
id str - The space ID associated with this resource.
- Sequence[str]
- A list of tenant tags associated with this resource.
- tenanted_
deployment_ strparticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants Sequence[str]
- A list of tenant IDs associated with this resource.
- account
Test List<String>Subject Keys - Keys to include in an account test. Valid options are:
space
,account
,type
- aws
Openid StringConnect Account Id - The ID of this resource.
- description String
- A user-friendly description of this AWS OIDC account.
- environments List<String>
- A list of environment IDs associated with this resource.
- execution
Subject List<String>Keys - Keys to include in a deployment or runbook. Valid options are
space
,environment
,project
,tenant
,runbook
,account
,type
- health
Subject List<String>Keys - Keys to include in a health check. Valid options are
space
,account
,target
,type
- name String
- The name of this AWS OIDC account.
- role
Arn String - The Amazon Resource Name (ARN) of the role that the caller is assuming.
- session
Duration Number - The duration, in seconds, of the role session.
- space
Id String - The space ID associated with this resource.
- List<String>
- A list of tenant tags associated with this resource.
- tenanted
Deployment StringParticipation - The tenanted deployment mode of the resource. Valid account types are
Untenanted
,TenantedOrUntenanted
, orTenanted
. - tenants List<String>
- A list of tenant IDs associated with this resource.
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.