athenz.DomainMeta
Explore with Pulumi AI
athenz.DomainMeta
provides an Athenz domain meta resource.
Create DomainMeta Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DomainMeta(name: string, args: DomainMetaArgs, opts?: CustomResourceOptions);
@overload
def DomainMeta(resource_name: str,
args: DomainMetaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DomainMeta(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain: Optional[str] = None,
group_expiry_days: Optional[float] = None,
role_cert_expiry_mins: Optional[float] = None,
contacts: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
audit_ref: Optional[str] = None,
domain_meta_id: Optional[str] = None,
environment: Optional[str] = None,
application_id: Optional[str] = None,
business_service: Optional[str] = None,
service_cert_expiry_mins: Optional[float] = None,
member_purge_expiry_days: Optional[float] = None,
service_expiry_days: Optional[float] = None,
slack_channel: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
token_expiry_mins: Optional[float] = None,
user_authority_filter: Optional[str] = None,
user_expiry_days: Optional[float] = None)
func NewDomainMeta(ctx *Context, name string, args DomainMetaArgs, opts ...ResourceOption) (*DomainMeta, error)
public DomainMeta(string name, DomainMetaArgs args, CustomResourceOptions? opts = null)
public DomainMeta(String name, DomainMetaArgs args)
public DomainMeta(String name, DomainMetaArgs args, CustomResourceOptions options)
type: athenz:DomainMeta
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 DomainMetaArgs
- 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 DomainMetaArgs
- 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 DomainMetaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DomainMetaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DomainMetaArgs
- 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 domainMetaResource = new Athenz.DomainMeta("domainMetaResource", new()
{
Domain = "string",
GroupExpiryDays = 0,
RoleCertExpiryMins = 0,
Contacts =
{
{ "string", "string" },
},
Description = "string",
AuditRef = "string",
DomainMetaId = "string",
Environment = "string",
ApplicationId = "string",
BusinessService = "string",
ServiceCertExpiryMins = 0,
MemberPurgeExpiryDays = 0,
ServiceExpiryDays = 0,
SlackChannel = "string",
Tags =
{
{ "string", "string" },
},
TokenExpiryMins = 0,
UserAuthorityFilter = "string",
UserExpiryDays = 0,
});
example, err := athenz.NewDomainMeta(ctx, "domainMetaResource", &athenz.DomainMetaArgs{
Domain: pulumi.String("string"),
GroupExpiryDays: pulumi.Float64(0),
RoleCertExpiryMins: pulumi.Float64(0),
Contacts: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
AuditRef: pulumi.String("string"),
DomainMetaId: pulumi.String("string"),
Environment: pulumi.String("string"),
ApplicationId: pulumi.String("string"),
BusinessService: pulumi.String("string"),
ServiceCertExpiryMins: pulumi.Float64(0),
MemberPurgeExpiryDays: pulumi.Float64(0),
ServiceExpiryDays: pulumi.Float64(0),
SlackChannel: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
TokenExpiryMins: pulumi.Float64(0),
UserAuthorityFilter: pulumi.String("string"),
UserExpiryDays: pulumi.Float64(0),
})
var domainMetaResource = new DomainMeta("domainMetaResource", DomainMetaArgs.builder()
.domain("string")
.groupExpiryDays(0)
.roleCertExpiryMins(0)
.contacts(Map.of("string", "string"))
.description("string")
.auditRef("string")
.domainMetaId("string")
.environment("string")
.applicationId("string")
.businessService("string")
.serviceCertExpiryMins(0)
.memberPurgeExpiryDays(0)
.serviceExpiryDays(0)
.slackChannel("string")
.tags(Map.of("string", "string"))
.tokenExpiryMins(0)
.userAuthorityFilter("string")
.userExpiryDays(0)
.build());
domain_meta_resource = athenz.DomainMeta("domainMetaResource",
domain="string",
group_expiry_days=0,
role_cert_expiry_mins=0,
contacts={
"string": "string",
},
description="string",
audit_ref="string",
domain_meta_id="string",
environment="string",
application_id="string",
business_service="string",
service_cert_expiry_mins=0,
member_purge_expiry_days=0,
service_expiry_days=0,
slack_channel="string",
tags={
"string": "string",
},
token_expiry_mins=0,
user_authority_filter="string",
user_expiry_days=0)
const domainMetaResource = new athenz.DomainMeta("domainMetaResource", {
domain: "string",
groupExpiryDays: 0,
roleCertExpiryMins: 0,
contacts: {
string: "string",
},
description: "string",
auditRef: "string",
domainMetaId: "string",
environment: "string",
applicationId: "string",
businessService: "string",
serviceCertExpiryMins: 0,
memberPurgeExpiryDays: 0,
serviceExpiryDays: 0,
slackChannel: "string",
tags: {
string: "string",
},
tokenExpiryMins: 0,
userAuthorityFilter: "string",
userExpiryDays: 0,
});
type: athenz:DomainMeta
properties:
applicationId: string
auditRef: string
businessService: string
contacts:
string: string
description: string
domain: string
domainMetaId: string
environment: string
groupExpiryDays: 0
memberPurgeExpiryDays: 0
roleCertExpiryMins: 0
serviceCertExpiryMins: 0
serviceExpiryDays: 0
slackChannel: string
tags:
string: string
tokenExpiryMins: 0
userAuthorityFilter: string
userExpiryDays: 0
DomainMeta 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 DomainMeta resource accepts the following input properties:
- Domain string
- name of the domain
- Application
Id string - associated application id
- Audit
Ref string - string containing audit specification or ticket number.
- Business
Service string - associated business service with domain
- Contacts Dictionary<string, string>
- map of domain contacts
- Description string
- description for the domain
- Domain
Meta stringId - The ID of this resource.
- Environment string
- string specifying the environment this domain is used in (production, staging, etc.)
- Group
Expiry doubleDays - all groups in the domain roles will have specified max expiry days
- Member
Purge doubleExpiry Days - purge role/group members with expiry date configured days in the past
- Role
Cert doubleExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- Service
Cert doubleExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- Service
Expiry doubleDays - all services in the domain roles will have specified max expiry days
- Slack
Channel string - associated slack channel for notifications
- Dictionary<string, string>
- map of domain tags
- Token
Expiry doubleMins - tokens issued for this domain will have specified max timeout in mins
- string
- membership filtered based on user authority configured attributes
- User
Expiry doubleDays - all user members in the domain will have specified max expiry days
- Domain string
- name of the domain
- Application
Id string - associated application id
- Audit
Ref string - string containing audit specification or ticket number.
- Business
Service string - associated business service with domain
- Contacts map[string]string
- map of domain contacts
- Description string
- description for the domain
- Domain
Meta stringId - The ID of this resource.
- Environment string
- string specifying the environment this domain is used in (production, staging, etc.)
- Group
Expiry float64Days - all groups in the domain roles will have specified max expiry days
- Member
Purge float64Expiry Days - purge role/group members with expiry date configured days in the past
- Role
Cert float64Expiry Mins - role certs issued for this domain will have specified max timeout in mins
- Service
Cert float64Expiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- Service
Expiry float64Days - all services in the domain roles will have specified max expiry days
- Slack
Channel string - associated slack channel for notifications
- map[string]string
- map of domain tags
- Token
Expiry float64Mins - tokens issued for this domain will have specified max timeout in mins
- string
- membership filtered based on user authority configured attributes
- User
Expiry float64Days - all user members in the domain will have specified max expiry days
- domain String
- name of the domain
- application
Id String - associated application id
- audit
Ref String - string containing audit specification or ticket number.
- business
Service String - associated business service with domain
- contacts Map<String,String>
- map of domain contacts
- description String
- description for the domain
- domain
Meta StringId - The ID of this resource.
- environment String
- string specifying the environment this domain is used in (production, staging, etc.)
- group
Expiry DoubleDays - all groups in the domain roles will have specified max expiry days
- member
Purge DoubleExpiry Days - purge role/group members with expiry date configured days in the past
- role
Cert DoubleExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- service
Cert DoubleExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- service
Expiry DoubleDays - all services in the domain roles will have specified max expiry days
- slack
Channel String - associated slack channel for notifications
- Map<String,String>
- map of domain tags
- token
Expiry DoubleMins - tokens issued for this domain will have specified max timeout in mins
- String
- membership filtered based on user authority configured attributes
- user
Expiry DoubleDays - all user members in the domain will have specified max expiry days
- domain string
- name of the domain
- application
Id string - associated application id
- audit
Ref string - string containing audit specification or ticket number.
- business
Service string - associated business service with domain
- contacts {[key: string]: string}
- map of domain contacts
- description string
- description for the domain
- domain
Meta stringId - The ID of this resource.
- environment string
- string specifying the environment this domain is used in (production, staging, etc.)
- group
Expiry numberDays - all groups in the domain roles will have specified max expiry days
- member
Purge numberExpiry Days - purge role/group members with expiry date configured days in the past
- role
Cert numberExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- service
Cert numberExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- service
Expiry numberDays - all services in the domain roles will have specified max expiry days
- slack
Channel string - associated slack channel for notifications
- {[key: string]: string}
- map of domain tags
- token
Expiry numberMins - tokens issued for this domain will have specified max timeout in mins
- string
- membership filtered based on user authority configured attributes
- user
Expiry numberDays - all user members in the domain will have specified max expiry days
- domain str
- name of the domain
- application_
id str - associated application id
- audit_
ref str - string containing audit specification or ticket number.
- business_
service str - associated business service with domain
- contacts Mapping[str, str]
- map of domain contacts
- description str
- description for the domain
- domain_
meta_ strid - The ID of this resource.
- environment str
- string specifying the environment this domain is used in (production, staging, etc.)
- group_
expiry_ floatdays - all groups in the domain roles will have specified max expiry days
- member_
purge_ floatexpiry_ days - purge role/group members with expiry date configured days in the past
- role_
cert_ floatexpiry_ mins - role certs issued for this domain will have specified max timeout in mins
- service_
cert_ floatexpiry_ mins - service identity certs issued for this domain will have specified max timeout in mins
- service_
expiry_ floatdays - all services in the domain roles will have specified max expiry days
- slack_
channel str - associated slack channel for notifications
- Mapping[str, str]
- map of domain tags
- token_
expiry_ floatmins - tokens issued for this domain will have specified max timeout in mins
- str
- membership filtered based on user authority configured attributes
- user_
expiry_ floatdays - all user members in the domain will have specified max expiry days
- domain String
- name of the domain
- application
Id String - associated application id
- audit
Ref String - string containing audit specification or ticket number.
- business
Service String - associated business service with domain
- contacts Map<String>
- map of domain contacts
- description String
- description for the domain
- domain
Meta StringId - The ID of this resource.
- environment String
- string specifying the environment this domain is used in (production, staging, etc.)
- group
Expiry NumberDays - all groups in the domain roles will have specified max expiry days
- member
Purge NumberExpiry Days - purge role/group members with expiry date configured days in the past
- role
Cert NumberExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- service
Cert NumberExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- service
Expiry NumberDays - all services in the domain roles will have specified max expiry days
- slack
Channel String - associated slack channel for notifications
- Map<String>
- map of domain tags
- token
Expiry NumberMins - tokens issued for this domain will have specified max timeout in mins
- String
- membership filtered based on user authority configured attributes
- user
Expiry NumberDays - all user members in the domain will have specified max expiry days
Outputs
All input properties are implicitly available as output properties. Additionally, the DomainMeta 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 DomainMeta Resource
Get an existing DomainMeta 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?: DomainMetaState, opts?: CustomResourceOptions): DomainMeta
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_id: Optional[str] = None,
audit_ref: Optional[str] = None,
business_service: Optional[str] = None,
contacts: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
domain_meta_id: Optional[str] = None,
environment: Optional[str] = None,
group_expiry_days: Optional[float] = None,
member_purge_expiry_days: Optional[float] = None,
role_cert_expiry_mins: Optional[float] = None,
service_cert_expiry_mins: Optional[float] = None,
service_expiry_days: Optional[float] = None,
slack_channel: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
token_expiry_mins: Optional[float] = None,
user_authority_filter: Optional[str] = None,
user_expiry_days: Optional[float] = None) -> DomainMeta
func GetDomainMeta(ctx *Context, name string, id IDInput, state *DomainMetaState, opts ...ResourceOption) (*DomainMeta, error)
public static DomainMeta Get(string name, Input<string> id, DomainMetaState? state, CustomResourceOptions? opts = null)
public static DomainMeta get(String name, Output<String> id, DomainMetaState state, CustomResourceOptions options)
resources: _: type: athenz:DomainMeta 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.
- Application
Id string - associated application id
- Audit
Ref string - string containing audit specification or ticket number.
- Business
Service string - associated business service with domain
- Contacts Dictionary<string, string>
- map of domain contacts
- Description string
- description for the domain
- Domain string
- name of the domain
- Domain
Meta stringId - The ID of this resource.
- Environment string
- string specifying the environment this domain is used in (production, staging, etc.)
- Group
Expiry doubleDays - all groups in the domain roles will have specified max expiry days
- Member
Purge doubleExpiry Days - purge role/group members with expiry date configured days in the past
- Role
Cert doubleExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- Service
Cert doubleExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- Service
Expiry doubleDays - all services in the domain roles will have specified max expiry days
- Slack
Channel string - associated slack channel for notifications
- Dictionary<string, string>
- map of domain tags
- Token
Expiry doubleMins - tokens issued for this domain will have specified max timeout in mins
- string
- membership filtered based on user authority configured attributes
- User
Expiry doubleDays - all user members in the domain will have specified max expiry days
- Application
Id string - associated application id
- Audit
Ref string - string containing audit specification or ticket number.
- Business
Service string - associated business service with domain
- Contacts map[string]string
- map of domain contacts
- Description string
- description for the domain
- Domain string
- name of the domain
- Domain
Meta stringId - The ID of this resource.
- Environment string
- string specifying the environment this domain is used in (production, staging, etc.)
- Group
Expiry float64Days - all groups in the domain roles will have specified max expiry days
- Member
Purge float64Expiry Days - purge role/group members with expiry date configured days in the past
- Role
Cert float64Expiry Mins - role certs issued for this domain will have specified max timeout in mins
- Service
Cert float64Expiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- Service
Expiry float64Days - all services in the domain roles will have specified max expiry days
- Slack
Channel string - associated slack channel for notifications
- map[string]string
- map of domain tags
- Token
Expiry float64Mins - tokens issued for this domain will have specified max timeout in mins
- string
- membership filtered based on user authority configured attributes
- User
Expiry float64Days - all user members in the domain will have specified max expiry days
- application
Id String - associated application id
- audit
Ref String - string containing audit specification or ticket number.
- business
Service String - associated business service with domain
- contacts Map<String,String>
- map of domain contacts
- description String
- description for the domain
- domain String
- name of the domain
- domain
Meta StringId - The ID of this resource.
- environment String
- string specifying the environment this domain is used in (production, staging, etc.)
- group
Expiry DoubleDays - all groups in the domain roles will have specified max expiry days
- member
Purge DoubleExpiry Days - purge role/group members with expiry date configured days in the past
- role
Cert DoubleExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- service
Cert DoubleExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- service
Expiry DoubleDays - all services in the domain roles will have specified max expiry days
- slack
Channel String - associated slack channel for notifications
- Map<String,String>
- map of domain tags
- token
Expiry DoubleMins - tokens issued for this domain will have specified max timeout in mins
- String
- membership filtered based on user authority configured attributes
- user
Expiry DoubleDays - all user members in the domain will have specified max expiry days
- application
Id string - associated application id
- audit
Ref string - string containing audit specification or ticket number.
- business
Service string - associated business service with domain
- contacts {[key: string]: string}
- map of domain contacts
- description string
- description for the domain
- domain string
- name of the domain
- domain
Meta stringId - The ID of this resource.
- environment string
- string specifying the environment this domain is used in (production, staging, etc.)
- group
Expiry numberDays - all groups in the domain roles will have specified max expiry days
- member
Purge numberExpiry Days - purge role/group members with expiry date configured days in the past
- role
Cert numberExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- service
Cert numberExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- service
Expiry numberDays - all services in the domain roles will have specified max expiry days
- slack
Channel string - associated slack channel for notifications
- {[key: string]: string}
- map of domain tags
- token
Expiry numberMins - tokens issued for this domain will have specified max timeout in mins
- string
- membership filtered based on user authority configured attributes
- user
Expiry numberDays - all user members in the domain will have specified max expiry days
- application_
id str - associated application id
- audit_
ref str - string containing audit specification or ticket number.
- business_
service str - associated business service with domain
- contacts Mapping[str, str]
- map of domain contacts
- description str
- description for the domain
- domain str
- name of the domain
- domain_
meta_ strid - The ID of this resource.
- environment str
- string specifying the environment this domain is used in (production, staging, etc.)
- group_
expiry_ floatdays - all groups in the domain roles will have specified max expiry days
- member_
purge_ floatexpiry_ days - purge role/group members with expiry date configured days in the past
- role_
cert_ floatexpiry_ mins - role certs issued for this domain will have specified max timeout in mins
- service_
cert_ floatexpiry_ mins - service identity certs issued for this domain will have specified max timeout in mins
- service_
expiry_ floatdays - all services in the domain roles will have specified max expiry days
- slack_
channel str - associated slack channel for notifications
- Mapping[str, str]
- map of domain tags
- token_
expiry_ floatmins - tokens issued for this domain will have specified max timeout in mins
- str
- membership filtered based on user authority configured attributes
- user_
expiry_ floatdays - all user members in the domain will have specified max expiry days
- application
Id String - associated application id
- audit
Ref String - string containing audit specification or ticket number.
- business
Service String - associated business service with domain
- contacts Map<String>
- map of domain contacts
- description String
- description for the domain
- domain String
- name of the domain
- domain
Meta StringId - The ID of this resource.
- environment String
- string specifying the environment this domain is used in (production, staging, etc.)
- group
Expiry NumberDays - all groups in the domain roles will have specified max expiry days
- member
Purge NumberExpiry Days - purge role/group members with expiry date configured days in the past
- role
Cert NumberExpiry Mins - role certs issued for this domain will have specified max timeout in mins
- service
Cert NumberExpiry Mins - service identity certs issued for this domain will have specified max timeout in mins
- service
Expiry NumberDays - all services in the domain roles will have specified max expiry days
- slack
Channel String - associated slack channel for notifications
- Map<String>
- map of domain tags
- token
Expiry NumberMins - tokens issued for this domain will have specified max timeout in mins
- String
- membership filtered based on user authority configured attributes
- user
Expiry NumberDays - all user members in the domain will have specified max expiry days
Package Details
- Repository
- athenz athenz/terraform-provider-athenz
- License
- Notes
- This Pulumi package is based on the
athenz
Terraform Provider.